﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using classInterface;
using System.Windows.Forms;
using System.Drawing;

namespace classInterface.text
{
    public class classText: UserForm
    {

        public classText()
        {
            _name = "classText_label";
            _label = new  UserControl1(this);
            _label.AutoSize = false;
             
        }

        public override Control cenControl_ => _label;

        public override void ShowName()
        {
           // DrawString();
        }

        public override string Name =>_name;

        public override void DrawData(Point[] p)
        {
            _label.DrawString(p);
        }

        public  void DrawString(Point[] p)
        {

            _label.DrawString (p);
            _label.ShowName( );
        
        }


        private string _name;
        private UserControl1 _label;
         
    }
}
